home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / query_ip_number < prev    next >
Text File  |  2001-04-06  |  676b  |  23 lines

  1. SYNOPSIS
  2.         string query_ip_number(object  ob)
  3.         string query_ip_number(mixed & ob)
  4.  
  5. DESCRIPTION
  6.         Give the ip-number for the current user or the optional
  7.         argument ob.
  8.  
  9.         If ob is given as reference (and it must be a valid object then),
  10.         it will upon return be set to the struct sockaddr_in of the queried
  11.         object, represented by an array of integers, one integer per
  12.         address byte:
  13.           ob[0.. 1]: sin_family
  14.           ob[2.. 3]: sin_port
  15.           ob[4.. 7]: sin_addr
  16.           ob[8..15]: undefined.
  17.  
  18. HISTORY
  19.         The return of the struct sockaddr_in was introduced in 3.2.1@81.
  20.  
  21. SEE ALSO
  22.         query_ip_name(E)
  23.